﻿using SqlSugar;

namespace CJJ_BlogApiV3.Model.DbBaseModel
{
    /// <summary>
    /// 员工表
    /// </summary>
    [SugarTable("tm_sysuser")]
    public class SysUser
    {
        /// <summary>
        /// 
        /// </summary>
        public SysUser()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 UserID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String LoginNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String UserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Password { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.UInt64? Locked { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? LastLoginTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? CreateBy { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? UpdateBy { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ServiceProviderID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ErrorNumber { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 1是管理员
        /// </summary>
        public int IsAdmin { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
    }
}